using System.Diagnostics;

namespace FwkLight.CodeExtensions
{
  public class ItemKey<ValueType> : IItemKey<ValueType>
  {
    private readonly string contextKey;

    [DebuggerNonUserCode]
    public ItemKey(string contextKey)
    {
      this.contextKey = contextKey;
    }

    #region IItemKey<ValueType> Members

    [DebuggerNonUserCodeAttribute]
    public string Key
    {
      get { return contextKey; }
    }

    #endregion
  }
}